package com.wit.service.impl;

import java.util.List;

import com.wit.dao.ClientlevelDao;
import com.wit.po.Clientlevel;
import com.wit.service.ClientlevelService;

public class ClientlevelServiceImpl implements ClientlevelService {

	ClientlevelDao clientlevelDao;
	

	public boolean addClientlevel(Clientlevel level) {
		
		return clientlevelDao.addClientlevel(level);
	}

	
	public Clientlevel getClientlevelById(String levelId) {

		return clientlevelDao.getClientlevelById(levelId);
	}

	
	public List<Clientlevel> getClientlevelList() {
		
		return clientlevelDao.getClientlevelList();
	}

	
	public boolean removeClientlevel(Clientlevel level) {
		
		return clientlevelDao.removeClientlevel(level);
	}

	
	public boolean updateClientlevel(Clientlevel level) {
		
		return clientlevelDao.updateClientlevel(level);
	}

	/*************************** Getters and Setters *****************************/
	
	public ClientlevelDao getClientlevelDao() {
		return clientlevelDao;
	}

	public void setClientlevelDao(ClientlevelDao clientlevelDao) {
		this.clientlevelDao = clientlevelDao;
	}

}
